package com.offcn.webui;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther: yao
 * @Date: 2020/10/28 09:28
 * @Description:
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)    //制定该工程不启用JDBC
@EnableDiscoveryClient
@EnableFeignClients
@EnableCircuitBreaker
public class ScwWebuiStart {

    public static void main(String[] args) {
        SpringApplication.run(ScwWebuiStart.class);
    }
}
